<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="../css/modules/layui/css/layui.css">
  <link rel="stylesheet" href="../css/userinfo.css">
</head>

<body>

  <!-- 卡片区域 -->
  <div class="layui-card">
    <div class="layui-card-header">修改用户信息</div>
    <div class="layui-card-body">
      <!-- form表单区域 -->
      <form class="layui-form" lay-filter="formUserInfo">
        <!-- 这是一个隐藏域 -->
        <input type="hidden" name="id">
        <div class="layui-form-item">
          <label class="layui-form-label">登陆名称</label>
          <div class="layui-input-block">
            <input type="text" readonly name="username" required lay-verify="required｜username" placeholder="请输入登陆名称"
              autocomplete="off" class="layui-input userinfo resname">
          </div>
        </div>

        <div class="layui-form-item">
          <label class="layui-form-label">用户昵称</label>
          <div class="layui-input-block">
            <input type="text" name="nickname" required lay-verify="username" placeholder="请输入用户昵称"
              autocomplete="off" class="layui-input resname nam">
          </div>
        </div>

        <div class="layui-form-item">
          <label class="layui-form-label">用户邮箱</label>
          <div class="layui-input-block">
            <input type="text" name="email"  lay-verify="email" placeholder="请输入用户邮箱"
              autocomplete="off" class="layui-input resname">
          </div>
        </div>

        <div class="layui-form-item">
          <div class="layui-input-block">
            <button class="layui-btn " lay-submit lay-filter="formDemo">提交修改</button>
            <button type="reset" class="layui-btn layui-btn-primary" id="btnReset">重置</button>
          </div>
        </div>
      </form>
    </div>
  </div>
</body>
<script src="../css/modules/layui/layui.js"></script>
<script src="../js/modules/jquery.js"></script>
<script src="../js/baseAPI.js"></script>
<script src="../js/userinfo.js"></script>
<script src="../js/utils.js"></script>

</html>